class Config < ActiveRecord::Base
  mount_uploader :file, ConfigFileUploader
  
  def str_safe
    sc = self.content
    sc.gsub!(Regexp.new('[\"]'), "'")
    sc.gsub!(Regexp.new("[\n\r]"), "")
    sc
  end
end
